.class Lcom/instagram/android/fragment/u;
.super Ljava/lang/Object;
.source "CameraSettingsFragment.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# instance fields
.field final synthetic a:Lcom/instagram/m/a/b;

.field final synthetic b:Lcom/instagram/android/fragment/t;


# direct methods
.method constructor <init>(Lcom/instagram/android/fragment/t;Lcom/instagram/m/a/b;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 32
    iput-object p1, p0, Lcom/instagram/android/fragment/u;->b:Lcom/instagram/android/fragment/t;

    iput-object p2, p0, Lcom/instagram/android/fragment/u;->a:Lcom/instagram/m/a/b;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 3
    .parameter "buttonView"
    .parameter "isChecked"

    .prologue
    .line 35
    if-eqz p2, :cond_0

    .line 36
    iget-object v0, p0, Lcom/instagram/android/fragment/u;->a:Lcom/instagram/m/a/b;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/m/a/b;->c(Z)Z

    .line 37
    iget-object v0, p0, Lcom/instagram/android/fragment/u;->b:Lcom/instagram/android/fragment/t;

    sget v1, Lcom/facebook/ba;->instagram_camera_warning:I

    sget v2, Lcom/facebook/aw;->row_advanced_camera_checkbox:I

    invoke-static {v0, v1, v2}, Lcom/instagram/android/fragment/t;->a(Lcom/instagram/android/fragment/t;II)V

    .line 41
    :goto_0
    return-void

    .line 39
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/u;->a:Lcom/instagram/m/a/b;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/instagram/m/a/b;->c(Z)Z

    goto :goto_0
.end method
